#include <stdio.h>
#define pi 3.14159265358979323846

int main (void)

{
	double r,s;
	scanf("%lf",&r);
	s = pi*r*r;
	printf("%lf",s);
	return 0;
}